package com.yunxin.core.customer.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 客户信息分配话务员日志表
 * @TableName customer_telephoner_log
 */
@TableName(value ="customer_telephoner_log")
@Data
public class CustomerTelephonerLog implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 系统客户信息id
     */
    private Long customerInfoId;

    /**
     * 用户id
     */
    private Long userId;

    @TableField(exist = false)
    private String userName;

    /**
     * 1 分配话务员 2 流入公海池
     */
    private Integer type;

    /**
     * 标识删除 0.存在 1.删除
     */
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDel;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}